<?php
/**
 * Enter description here...
 *
 */
Class Wmp_Service_Test_Test
{	 	
	 public function __construct()
	 {
	  
	 }	
	
	 /**
	  * Enter description here...
	  *
	  * @param array $textToEcho
	  * @return string
	  */
	 function sayHello($textToEcho)
	 {//
	  return "hello : hachim ";
	 }//
	 
	 /**
	 * Say Hello
	 *
	 * @param string $who
	 * @param string $when
	 * @return string
	 */
	 public function sayHello2($who, $when)
	 {//
	 	$xml ='<?xml version="1.0" encoding="ISO-8859-1"?>
				  <mysite>
					  <value>Hey '.$who.'! Hope you re having a good '.$when.'</value>
					  <code>200</code>
				  </mysite>';
	   
	   $xml = simplexml_load_string($xml);
	   
	   return $xml;
	 }//
}
